package eu.runelord.programmers.t141416;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.StreamTokenizer;

public class App {

	/**
	 * @param args
	 * @throws IOException
	 */
	public static void main(String[] args) throws IOException {

		StreamTokenizer st = new StreamTokenizer(new BufferedReader(
				new InputStreamReader(System.in)));

		st.nextToken();

		while (!"".equals(st.sval.trim())) {
			if (StreamTokenizer.TT_WORD == st.ttype) {
				System.out.println("==" + st.sval.toCharArray() + "==");
			}
			else{
				System.out.println(st.ttype);
			}
			st.nextToken();
		}
	}

}
